<template>
  <el-container class="info-container">
    <el-aside class="info-aside" width="300px">
      <el-menu :default-openeds="['1', '2', '3']">
        <el-submenu index="1">
          <template slot="title">
            <i class="el-icon-s-order"></i>
            <span>企业信息</span>
          </template>
          <el-menu-item-group>
            <template slot="title">基本信息管理</template>
            <router-link to="/basicinfo">
              <el-menu-item index="1-1"> 企业基本信息 </el-menu-item>
            </router-link>
          </el-menu-item-group>
        </el-submenu>
        <el-submenu index="2">
          <template slot="title">
            <i class="el-icon-edit-outline"></i>
            <span>账号管理</span>
          </template>
          <el-menu-item-group>
            <template slot="title">账号信息管理</template>
            <router-link to="/resetpwd">
              <el-menu-item index="2-1">修改密码</el-menu-item>
            </router-link>
          </el-menu-item-group>
        </el-submenu>
        <el-submenu index="3">
          <template slot="title">
            <i class="el-icon-s-unfold"></i>
            <span>政策申请</span>
          </template>
          <el-menu-item-group>
            <template slot="title">政策申请管理</template>
            <router-link to="/mypolicy">
              <el-menu-item index="3-1">政策审批申请</el-menu-item>
            </router-link>
          </el-menu-item-group>
        </el-submenu>
      </el-menu>
    </el-aside>
    <el-container>
      <router-view />
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: "epbsinfo",
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.info-container {
  width: 100%;
  min-height: 100%;
  background-color: rgb(243, 243, 243);

  .info-aside {
    background-color: #fff;

    a {
      text-decoration: none;
    }
  }
}
</style>